home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000077_gquiring@gmail.com_Wed Feb 21 12:49:37 2007.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Path: reader2.panix.com!panix!news.maxwell.syr.edu!postnews.google.com!j27g2000cwj.googlegroups.com!not-for-mail
  2. From: "Gary Quiring" <gquiring@gmail.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: SSL Solaris 9 compile errors
  5. Date: 21 Feb 2007 06:08:48 -0800
  6. Organization: http://groups.google.com
  7. Lines: 120
  8. Message-ID: <1172066927.099583.146980@j27g2000cwj.googlegroups.com>
  9. References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com>
  10.    <slrnet6bnr.t17.fdc@panix1.panix.com>
  11.    <1171474573.115000.277200@v45g2000cwv.googlegroups.com>
  12.    <slrnet95nd.1b6.fdc@panix2.panix.com>
  13.    <1171585254.113397.40400@v33g2000cwv.googlegroups.com>
  14.    <slrnetc6ch.8ae.fdc@panix1.panix.com>
  15. NNTP-Posting-Host: 65.207.116.34
  16. Mime-Version: 1.0
  17. Content-Type: text/plain; charset="iso-8859-1"
  18. X-Trace: posting.google.com 1172066942 22682 127.0.0.1 (21 Feb 2007 14:09:02 GMT)
  19. X-Complaints-To: groups-abuse@google.com
  20. NNTP-Posting-Date: Wed, 21 Feb 2007 14:09:02 +0000 (UTC)
  21. In-Reply-To: <slrnetc6ch.8ae.fdc@panix1.panix.com>
  22. User-Agent: G2/1.0
  23. X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
  24. Complaints-To: groups-abuse@google.com
  25. Injection-Info: j27g2000cwj.googlegroups.com; posting-host=65.207.116.34;
  26.    posting-account=FQhNKw0AAABpZoI-99pbw0OCE1cm_48O
  27. Xref: panix comp.protocols.kermit.misc:15648
  28.  
  29. On Feb 16, 3:52 pm, Frank da Cruz <f...@panix.com> wrote:
  30. > On 2007-02-16, Gary Quiring <gquir...@gmail.com> wrote:
  31. > : On Feb 15, 12:22 pm, Frank da Cruz <f...@panix.com> wrote:
  32. > :> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
  33. > :> : On Feb 14, 10:47 am, Frank da Cruz <f...@panix.com> wrote:
  34. > :> :> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
  35. > :> :> : I am trying to compile kermit 8.0.211 with Solaris 9 (Sparc).  My
  36. > :> :> : openssl ver is 0.9.8d
  37. > :> ....
  38. > :> :
  39. > :> I have Solaris 9 here, with OpenSSL 0.9.8d, and "It Works For Me" (TM).
  40. > :>
  41. > :> To build C-Kermit with OpenSSL, you need to use one of the appropriate
  42. > :> makefile targets (which you did), plus:
  43. > :>
  44. > :>  . If the OpenSSL version is 0.9.7 or greater (a point where the API
  45. > :>    changed), you have to add -DOPENSSL_097 to CFLAGS (which can be
  46. > :>    done as shown above);
  47. > :>
  48. > :>  . If the OpenSSL header files are not in /usr/local/ssl/include, you
  49. > :>    have to change or override the definitions of "prefix" or "sslroot"
  50. > :>    or SSLINCL in the makefile.
  51. > :>
  52. > :>  . If the OpenSSL libraries are not in /usr/local/ssl/lib, you
  53. > :>    have to change or override the definitions of "prefix" or "sslroot"
  54. > :>    or SSLLIB in the makefile.
  55. > :>
  56. > :> At Columbia, we have to do all these things, because around here (or maybe
  57. > :> in Solaris in general) "/usr/local" is "deprecated": Here is the procedure:
  58. > :>
  59. > :>   export SSLINC=-I/opt/openssl-0.9.8d/include
  60. > :>   export SSLLIB=-L/opt/openssl-0.9.8d/lib
  61. > :>   export "KFLAGS=-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
  62. > :>   make -e solaris9g+openssl+shadow+pam+zlib
  63. > :>
  64. > :> - Frank
  65. > :
  66. > : Still no luck.  My SSL location is /usr/local/ssl.  I set the
  67. > : following:
  68. > :
  69. > : export SSLINC="-l/usr/local/ssl/include"
  70. > : export SSLLIB="-L/usr/local/ssl/lib"
  71. > :
  72. > Well, this should be unnecessary because it's the default.
  73. >
  74. > : export KFLAGS="-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
  75. > :
  76. > : Why is ck_ssl.h hardcoded for openssl directory?  I made a link for
  77. > : openssl -> ssl in /usr/local but it still didn't work.
  78. > :
  79. > See below.  Not to get off on a tangent, but after decades already of dealing
  80. > with the headaches of dealing with hardwired Unix (or DOS, or Windows, for
  81. > that matter) directory names that are constantly changing makes me ever more
  82. > nostalgic for the the "logical name" concept that was so effective in TOPS-10,
  83. > TOPS-20, and to this day in VMS.
  84. >
  85. > : gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX (etc etc...)
  86. > : ckcmai.c
  87. > : In file included from ckcmai.c:607:
  88. > : ck_ssl.h:35:26: openssl/comp.h: No such file or directory
  89. > : ck_ssl.h:42:25: openssl/des.h: No such file or directory
  90. > : ck_ssl.h:43:25: openssl/ssl.h: No such file or directory
  91. > : (etc etc)
  92. > :
  93. >
  94. > Let's see.  You've told the compiler to look for include files in
  95. > /usr/local/ssl/include.  That directory should contain an openssl directory,
  96. > which, in turn, contains all the .h files.  If so, the build should work for
  97. > you if you just do it like this (since your ssl tree is already in the
  98. > default location):
  99. >
  100. >   make KFLAGS=-DOPENSSL_097 solaris9g+openssl+shadow+pam+zlib
  101. >
  102. > - Frank
  103.  
  104. Same error:
  105.  
  106. make KFLAGS=-DOPENSSL_097 solaris9g+openssl+shadow+pam+zlib
  107. make "MAKE=make" solaris2xg+openssl+zlib+pam+shadow \
  108. KTARGET=${KTARGET:-solaris9g+openssl+shadow+pam+zlib} \
  109. "KFLAGS=-DSOLARIS9 -DHDBUUCP -DDIRENT -DZLIB -DCK_PAM -DCK_SHADOW \
  110. -DLIBDES -DOPENSSL_097" "LIBS= -lpam -ldes425 -lz "
  111. make[1]: Entering directory `/u/local/src/kerm'
  112. Making C-Kermit "8.0.211" for Solaris 2.x with gcc, OpenSSL...
  113. Please read the comments that accompany the solaris2xg target.
  114. make xermit KTARGET=${KTARGET:-solaris2xg+openssl+zlib+pam+shadow}
  115. CC=gcc CC2=gc
  116. c \
  117. "CFLAGS = -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT \
  118. -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET \
  119. -DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW  -DZLIB \
  120. -DBIGBUFOK -I/usr/local/ssl/include -DSOLARIS9 -DHDBUUCP -DDIRENT -
  121. DZLIB -DCK_PA
  122. M -DCK_SHADOW  -DLIBDES -DOPENSSL_097" \
  123. "LIBS= -L/usr/local/ssl/lib -ltermlib \
  124. -lsocket -lnsl -lm -lresolv -lssl -lcrypto -lpam -lz"
  125. make[2]: Entering directory `/u/local/src/kerm'
  126. gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT  -
  127. DCK_CURSES -DCK
  128. _NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET  -DCK_AUTHENTICATION -DCK_SSL -
  129. DCK_PAM -
  130. DCK_SHADOW  -DZLIB  -DBIGBUFOK -I/usr/local/ssl/include -DSOLARIS9 -
  131. DHDBUUCP -DD
  132. IRENT -DZLIB -DCK_PAM -DCK_SHADOW  -DLIBDES -DOPENSSL_097 -DKTARGET=
  133. \"solaris9g+
  134. openssl+shadow+pam+zlib\" -c ckcmai.c
  135. In file included from /usr/local/ssl/include/openssl/x509.h:96,
  136.                 from /usr/local/ssl/include/openssl/ssl.h:183,
  137.                 from ck_ssl.h:43,
  138.                 from ckcmai.c:607:
  139. /usr/local/ssl/include/openssl/rsa.h:335: error: parse error before
  140. numeric constant
  141. /usr/local/ssl/include/openssl/rsa.h:336: error: parse error before
  142. numeric constant
  143. make[2]: *** [ckcmai.o] Error 1
  144. make[2]: Leaving directory `/u/local/src/kerm'
  145. make[1]: *** [solaris2xg+openssl+zlib+pam+shadow] Error 2
  146. make[1]: Leaving directory `/u/local/src/kerm'
  147. make: *** [solaris9g+openssl+shadow+pam+zlib] Error 2
  148.